import { EventComponent } from "../Common/EventComponent";

class NetWorkManager extends EventComponent
{
    private static instance: NetWorkManager = null;

    public static get inst(): NetWorkManager {
        if (!this.instance) {
            this.instance = new NetWorkManager();
        }
        return this.instance;
    }
}

const NetWorkMgr:NetWorkManager = NetWorkManager.inst;
export default NetWorkMgr;